package com.example.android.ui.register;

import com.example.android.bean.Register;

import io.reactivex.rxjava3.core.Flowable;

public interface RegisterContract {
    interface IRegisterModel {
        Flowable<Register> addUser(String userAccount, String userMobile, String userPassword);
    }

    interface IRegisterPresenter {
        void addUser(String userAccount, String userMobile, String userPassword);
    }

    interface IRegisterView {
        void addUserSuccess(Register register);

        void addUserError(Throwable throwable);
    }
}
